package com.ruoyi.back.domain.v3

import com.baomidou.mybatisplus.annotation.*
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*
import javax.persistence.*

@ApiModel("作品举报")
@Entity
@Table(name = "fly_template_report")
@TableName("fly_template_report")
data class TemplateReport(

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id 更新的时候需要传递")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: Long? = null,

    @ApiModelProperty(hidden = true)
    var createBy: Long? = 0L,

    @ApiModelProperty(hidden = true)
    var createTime: Date? = Date(),


    @ApiModelProperty("举报原因")
    var reason: String? = null,

    @ApiModelProperty("作品id")
    var recordId: Long? = null,

    @ApiModelProperty("创建者名称")
    var username: String? = null,

    @ApiModelProperty("创建者编号")
    var userInfoId: String? = null,

    @ApiModelProperty("生成的图片")
    var pics: String? = null,

    @ApiModelProperty("描述词")
    var descText: String? = null,

    @ApiModelProperty("0: 未处理 1: 已经下架 2: 已经忽略")
    var status: Int? = 0,
)
